package co.edu.usbcali.banco.dataaccess.dao;

import co.edu.usbcali.banco.modelo.Banco;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for BancoDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IBancoDAO {
    public void save(Banco instance);

    public void delete(Banco instance);

    public void update(Banco instance);

    public Banco findById(String id);

    public List<Banco> findByExample(Banco instance);

    public List<Banco> findByProperty(String propertyName, Object value);

    public List<Banco> findAll();

    public List<Banco> findByCriteria(String whereCondition);

    public List<Banco> findPageBanco(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberBanco();

    public List<Banco> findByCodigobanco(Object codigobanco);

    public List<Banco> findByNombrebanco(Object nombrebanco);

    public List<Banco> findByPresidentebanco(Object presidentebanco);
}
